﻿using System.Web.Mvc;

namespace Netnr.DataKit.Web4.Controllers
{
    public class HomeController : Controller
    {
        [OutputCache(Duration = 5)]
        public ActionResult Index()
        {
            var ih = Core.FileTo.ReadText(System.AppContext.BaseDirectory, "index.html");
            return new ContentResult()
            {
                Content = ih,
                ContentType = "text/html"
            };
        }
    }
}